package com.jumi.microservice.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jumi.microservice.dto.reponse.GoldPromoterReviewReponse;
import com.jumi.microservice.dto.reponse.ListLevelDataReponse;
import com.jumi.microservice.entity.JmGoldPromoterReview;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jumi.microservice.entity.JmUser;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 金牌推广商表 Mapper 接口
 * </p>
 *
 * @author 要挑客户管理团队
 * @since 2020-08-11
 */
public interface JmGoldPromoterReviewMapper extends BaseMapper<JmGoldPromoterReview> {

    Page getPage(Page<JmUser> page,@Param(Constants.WRAPPER) Wrapper wrapper);

    GoldPromoterReviewReponse getGoldInfoById(Integer id);

    ListLevelDataReponse getListLevel(Integer id , Integer time);

}
